package com.lc.luzhengtang.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/6/23.
 */

public class IndexType {


    /**
     * code : 200
     * message : 数据返回成功！
     * data : [{"id":1,"title":"清热解毒"},{"id":2,"title":"药片"},{"id":3,"title":"胶囊"}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * title : 清热解毒
         */

        private int id;
        private String title;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
